<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>注册页面</title>
    <script src="js/all.js">

    </script>
    <style>
        html {
            height: 100%;
        }

        body {
            background-size: cover;

            background: url("register_bg.png") no-repeat center;

        }

        .rg_layout {
            width: 950px;
            height: 500px;
            border: 8px #EEEEEE solid;
            background-color: white;
            margin: auto;
            margin-top: 30px;
        }

        .rg_left {
            /*border: 1px red solid;*/
            float: left;
            margin: 15px;
        }

        .rg_right {
            /*border: 1px blue solid;*/
            float: right;
            font-size: 10px;
            font-size: 15px;
            margin: 15px;
        }

        .rg_center {
            /*border: 1px green solid;*/
            float: left;
            width: 580px;

        }

        * {
            margin: 0px;
            padding: 0px;
            box-sizing: border-box;
        }

        #rg_cn {
            color: #FFD026;
            font-size: 20px;
        }

        #rg_en {
            color: #A6A6A6;
            font-size: 20px;
        }

        #login {
            color: pink;

        }

        .td_left {
            width: 100px;
            text-align: right;
            height: 45px;


        }

        .td_right {
            padding-left: 50px;
        }

        #username, #password, #email, #name, #tel, #birthday, #checkcode {
            width: 251px;
            height: 32px;
            border: 1px #A6A6A6 solid;
            border-radius: 5px;
            padding-left: 10px;
        }

        #checkcode {
            width: 110px;
        }

        #img {
            height: 32px;
            vertical-align: middle;
        / / 设置垂直居中
        }

        #btn {
            width: 105px;
            height: 32px;
            background-color: #FFD026;
            border-radius: 5px;
            border: 1px #FFD026 solid;
        }

        #login1 {
            padding-left: 10px;
        }


    </style>
    <script src="./js/registered.js"></script>
</head>
<body>
<div class="rg_layout">
    <div class="rg_left">
        <p id="rg_cn">新用户注册</p>
        <p id="rg_en">USER RIGISTER</p>
    </div>
    <form action="" method="post">
    <div class="rg_center">
        <div class="form">
            <table>
                <tr>
                    <td class="td_left"><label for="username">用户名</label></td>
                    <td class="td_right"><input type="text" name="username" id="username" placeholder="请输入用户名"></td>
                </tr>

                <tr>
                    <td class="td_left"><label for="password">密码</label></td>
                    <td class="td_right"><input type="password" name="password" id="password" placeholder="请输入密码"></td>
                </tr>

                <tr>
                    <td class="td_left"><label for="email">Email</label></td>
                    <td class="td_right"><input type="email" name="email" id="email" placeholder="请输入邮箱" onblur="check()" onfocus=""></td>
                    <td><button type="button"  onclick="yzm()">获取验证码</button></td>
                </tr>



                <tr>
                    <td class="td_left"><label for="tel">手机号</label></td>
                    <td class="td_right"><input type="text" name="tel" id="phone" placeholder="请输入手机号"></td>
                </tr>

                <tr>
                    <td class="td_left"><label>性别</label></td>
                    <td class="td_right">
                        <input type="radio" name="gender" value="0" class="sex"> 男
                        <input type="radio" name="gender" value="1" class="sex"> 女
                    </td>
                </tr>
                <tr>
                    <td class="td_left"><label for="name">验证码</label></td>
                    <td class="td_right"><input type="text" name="yzm" id="yzm" placeholder="请输入验证码"></td>
                </tr>






                <tr>
                    <td colspan="2" align="center" id="login1"><input type="submit" id="btn" value="注册"></td>
                </tr>
            </table>
        </div>
    </div>
    </form>
    <div class="rg_right">
        <P>已有账户？<a href="login.jsp" id="login">立即登录</a></P>
    </div>

</div>
</body>